package com.yonyougov.devops.cruxcisupport.enums;

/**
 * 提测流程中的状态
 */
public enum TestStatusEnum {
    FUNCTION_CONFIRM("功能待确认", 0), COMMIT_START("开始提测", 1),
    TEST_START("开始测试", 2), TEST_REJECT("提测驳回", 3),
    TEST_SUCCESS("测试通过", 4), RELEASE("发版", 5),
    TEST_DELETE("提测作废", 6), TRANSMIT_TEST("转测", 7);

    private String name;
    private int value;

    TestStatusEnum(String name, int value) {
        this.name = name;
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }
}
